package com.ziyun.erp.modules.goodsProductCopyNew.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.goodsProductCopyNew.dao.GoodsProductCopyNewDao;
import com.ziyun.erp.modules.goodsProductCopyNew.entity.GoodsProductCopyNewEntity;
import com.ziyun.erp.modules.goodsProductCopyNew.service.GoodsProductCopyNewService;


@Service("goodsProductCopyNewService")
public class GoodsProductCopyNewServiceImpl extends ServiceImpl<GoodsProductCopyNewDao, GoodsProductCopyNewEntity> implements GoodsProductCopyNewService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<GoodsProductCopyNewEntity> page = this.selectPage(
                new Query<GoodsProductCopyNewEntity>(params).getPage(),
                new EntityWrapper<GoodsProductCopyNewEntity>()
        );

        return new PageUtils(page);
    }

}
